package com.itheima.javawork.day04.test2;

public class ImplCar {
    public static void main(String[] args) {
        DiCar diCar = new DiCar();
        diCar.start();
        diCar.stop();
        diCar.run();
        BaiCar baiCar = new BaiCar();
        baiCar.start();
        baiCar.stop();
        baiCar.run();
        BaiCar2 baiCar2 = new BaiCar2();
        baiCar2.start();
        baiCar2.stop();
        baiCar2.run();
        baiCar2.fly();

    }
}
